home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
UpTime Volume 2 #9
/
utv2n9s2.d64
/
bunny hop
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-28
|
1KB
|
31 lines
100 rem bunny boot--jc hilty--version 2.0-march 1988
105 sys58451:sys65418:poke55,255:poke56,159:clr:sys65412:sys65409
109 ifpeek(1023)=251thensys52480
110 poke53281,0:poke53280,6:print"[147]";chr$(142);chr$(8);
111 print"heading for the carrot patch...."
120 poke147,0:sys57812"display.ml",8,1:sys62631
130 poke147,0:sys57812"bunnytitle",8,1:sys62631:sys49154
140 s=54272:forx=0to24:pokes+x,0:next:pokes+3,8:pokes+5,41:pokes+6,89
150 pokes+14,117:pokes+18,16:pokes+24,143:dr=4
160 readfr:iffr=0thenrestore:goto160
170 pokes+4,65:fort=1todr*1.5:fq=fr+peek(s+27)/2
180 hf=int(fq/256):lf=fqand255:pokes,lf:pokes+1,hf:next:pokes+4,64
190 ifpeek(197)=4then210
200 goto160
210 poke53265,peek(53265)and223:poke53272,(peek(53272)and240)or4
220 poke53270,peek(53270)and239:poke53281,0:poke646,0
230 printchr$(147):print:print
240 print:print:print:print:print
250 print"[129]yummy..yummy..yummy..."
260 print"i got carrots in my tummy!![144]":printchr$(19)
270 load"bunnymain",8
280 rem music data
290 data 3215,3215,4050,4050,4817,4817,5407,5407,5728,5728,5407,5407,4817,4817
300 data 4050,4050,3215,3215,4050,4050,4817,4817,5407,5407,5728,5728,5407,5407
310 data 4817,4817,4050,4050,4291,4291,5407,5407,6430,6430,7217,7217,7801,7801
320 data 7217,7217,6430,6430,5407,5407,3215,3215,4050,4050,4817,4817,5407,5407
330 data 5728,5728,5407,5407,4817,4817,4050,4050
340 data 4817,4817,6069,6069,7217,7217,6069,6069,4291,4291,5407,5407,6430,6430
350 data 5407,5407,3215,3215,4050,4050,4817,4817,5407,5407,6430,6430,6430,6430
360 data 12860,12860,12860,12860,0